PHP failed to Install

tsj5j

Verified User
Joined
Jun 22, 2007
Messages
23
Right from the start I already had php missing.

In the DA control panel there were many "cannot find file: /usr/local/bin/php".

So I used customapache to rebuild php with command ./build php.

I got this error :

checking for mcrypt_module_open in -lmcrypt... no
checking for mcrypt_module_open in -lmcrypt... yes
checking for mcrypt_generic_deinit in -lmcrypt... yes
checking for MCVE support... no
checking OpenSSL dir for MCVE... no
checking for mhash support... yes
checking whether to include mime_magic support... no
checking for MING support... no
checking for mnoGoSearch support... no
checking for msession support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking size of char... 1
checking size of int... (cached) 4
checking size of long... (cached) 8
checking size of long long... (cached) 8
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for uid_t in sys/types.h... (cached) yes
checking for type ulong... yes
checking for type uchar... no
checking for type uint... yes
checking for type ushort... yes
checking for int8... no
checking base type of last arg to accept... socklen_t
checking return type of qsort... void
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.

*** There was an error while trying to configure php. Check the configure.php file

The configure.php had the option --with-mysql specified to the directory /usr.
The directory /usr/local/mysql did not exist.

HOWEVER, MySQL was running just fine.

I also tried reinstalling DA to no avail.

I'm running Fedora Core 6 on a Xen VPS.
 
Try reinstalling everything in customapache; look here for more information. If that doesn't help, check here to see if you've got php set up properly for customapache to install.

If you've got any kind of php packages installed by your OS you may have to uninstall them before customapache will properly install php.

Jeff
 
Back
Top