Problem http and php

sweb

New member
Joined
Sep 2, 2013
Messages
1
I updated the php server 5.2 to 5.3
Using this guide
http://help.directadmin.com/item.php?id=345
And now do not work for me php and http

Code:
[root@server custombuild]# ./build php n

mail-header-patch=yes is set in the options.conf, but is not required with this php version.
To enable the X-Mail header, set mail.add_x_header to 1 in your php.ini
File already exists:    php-5.3.27.tar.gz
MD5 Checksum on php-5.3.27.tar.gz passed.
You cannot install curl, because you do not have it set in options.conf file.
Found /usr/local/directadmin/custombuild/php-5.3.27.tar.gz
Extracting ...
Done.
Disabling asm/atomic in /usr/include/mysql/my_global.h
Configuring php-5.3.27...
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

*** There was an error while trying to configure php. Check the custom/ap2/configure.php5 file

Code:
[root@server ~]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 43 of /usr/local/directadmin/data/users/radio/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
 
Hello,
C compiler cannot create executables.
that's... never a good error to see.

There might be a config.log file in:
/usr/local/directadmin/custombuild/php-5.3.27/config.log

which could explain why gcc isn't working.

John
 
Back
Top