Zend Server with xampp MySQL - php

I am running Zend Server,Zend Studio (Trial versions) on Ubuntu 9.10. I am also using xampp to do most of my development. I plan to use Zend Server only to do URL profiling to know function level performance of my code. Is it possible to configure Zend Server to use XAMPP's MySQL database instead of installing a new mysql instance for Zend Server?

No configuration is needed. You don't need to install the MySQL server with Zend Server and just use your regular credentials to connect to the Xampp MySQL instance.

Related

Zend Framework using built in PHP server?

I am trying to connect to MSSQL Server.
Does Zend have its own server or does it under Apache server in XAMP?
Zend is a company.
There is such a thing as Zend Server.
If however you mean the Zend Framework, then yes it must run on a Web Server, be it Apache, NginX, or Zend Server.

What all servers do I need to install to deploy and run my PHP web app, if I don't want to use the XAMPP package?

For web development where I use PHP on the backend, I have always used XAMPP (Windows) or LAMPP (Ubuntu).
Now I am running Ubuntu 16.04 and for some reason, I can not use an LAMPP package. So my question is what independent servers do I need to install?
I know that I need to install PHP, and I also know that I will need to install MySQL database Server if my application uses MySQL database.
But what else do I need to install, apart from PHP 7.1 and MySQL database server?
LAMPP is short for:
Linux
Apache
MySQL
PHP
Perl
So if you are developing Web Applications I would say that you are fine with Apache, MySQL and PHP. There might be some other modules (e.g. for SEO reasons like mod_rewrite) but those could be easily installed later one.

As I connect APP OpenShift php with MSSQL remote?

I would like to know how to compile mssql in php5.4 of Openshift? I've heard of freetds, but really I'm a bit of a novice with this and have not managed to make it work.
I want to connect to a remote server from my application MSSQL OpenShift php.
you can with a rhc code or install a DIY cartridge?
please help
OpenShift Online does not currently have any of the modules that you would need to connect to MSSQL installed. You have a couple of options:
Visit https://openshift.uservoice.com and add a suggestion for installing modules that would enable you to connect to a remote MSSQL server from the PHP cartridges.
Write an API in front of the MSSQL database that enables you to interact with it in the way that you need to. Maybe using another hosting provider that has the MSSQL extensions installed or a windows hosting provider,etc

PHP MSSQL using Apache on Windows and Linux

How to setup PHP (5.3/5.4) with MSSQL support on a windows development environment, if applications should be deployed to a linux system? So basically, which driver should be used and how (like using mssql_ functions or PDO or sth.)?
Currently the target system is running PHP 5.1.6 on some CentOS, but this could be updated if needed. We are using the mssql_ functions for database access. I tried to setup the development machine using XAMPP, but had to find out, that the support for MSSQL driver has been dropped in PHP 5.3.
The suggestion seems to be to use sqlsrv driver and functions, but this won't work on the web server.
Use ODBC, the SQLSrv extension is only intended for use on Windows.

Using ZendStudio with XAMPP

I had installed XAMPP, as a matter of convenience, since it installs php, apache (which is what I need) and, in addition, it installs other things like MySQL, but I'm not going to use now.
In XAMPP, I enabled the mssql module (editing the php.ini), to use the connection to Microsoft SQL, and everything works fine.
Now, I'm wanting to debug a script in PHP debugger with ZendStudio and I notice that there are two ways:
Internal
Server
[Internal], uses the ZendStudio "internal" PHP.
[Server], connect to a server (which is what I need).
The point is that I can not do it, I can not understand how it is configured.
I would like to use with the XAMPP apache and php.
I use Internal for now, but I get problems with the mssql module. I was looking at the Zend internal php, copied by hand the mssql dll and edited the php.ini (I am talking about the Zend) but still not working.
Any ideas?
You will need to install either Zend Debugger or xdebug on the server, and then configure Zend Studio accordingly. Both are fairly easy to install on XAMPP, and there are many articles available through Google that detail installation better than I can here.
If you choose to go with Zend Debugger, you shouldn't need to do anything else in Zend Studio, as it is the default debugger. If you opt for xdebug, you will need to edit your Studio configuration to use xdebug instead. This option can be found under PHP > Debug, and is a drop-down labeled PHP Debugger.
Now you can start a debugging or profiling session using the Zend Studio browser toolbar, or from the Remote Debug or Remote Profiling buttons in Studio. I highly suggest reading the Zend Studio manual for some more advanced debugging information.
Also, just to throw this out there, you can replace XAMPP with Zend Server Community, which has Zend Debugger installed and configured by default. Studio 7+ will pick up a Server installation and configures itself to use it automatically.
I'm not all that familiar with ZendStudio, but wouldn't you just use the "Server" option and point to http://localhost/ for the server to connect to?

Categories