apache on centos, php4 - config error
[root@localhost ~]# /usr/local/se/apps/apache2/bin/apachectl start
httpd: Syntax error on line 53 of /usr/local/se/apps/apache2/conf/httpd.conf: Cannot load /usr/local/se/apps/apache2/modules/libphp4.so into server:/usr/local/se/apps/apache2/modules/libphp4.so: undefined symbol: jpeg_resync_to_restart [root@localhost ~]# I've got error went start apache....please help me....already no idea with this error... |
Quote:
so........... looks like an issue with the php4 module. are you currently using php4?? if not, do not load this....you can comment out the line 53 there are much later versions of php anyway.... |
Looks like libphp4 isn't finding the libjpeg library for handling JPEG images. Where did you get that libphp4 from - and is there any specific reason why you need PHP 4, instead of the (I presume) PHP 5 version, that is, mostly likely, supplied by you distribution?
|
Quote:
|
I use...
-centos 5.4 -php 4.6.6 -apache http server 2.2.15 -apache-tomcat 6 -eaccelerator 0.9.5 -tomcat-connectors 1.2.26 -openssl-0.9.8k |
is there a very important reason you are still using the OLD php 4
php5.1 is the default ( php-5.1.6-27.el5.i386.rpm ) and CentOS 5.5 is out so you will need to upgrade |
Thanks for advice....
already solve the error "httpd: Syntax error on line 53 of /usr/local/se/apps/apache2/conf/httpd.conf: Cannot load /usr/local/se/apps/apache2/modules/libphp4.so into server:/usr/local/se/apps/apache2/modules/libphp4.so: undefined symbol: jpeg_resync_to_restart" after upgrade to php5.... now got new error.... [root@localhost]# /usr/local/se/apps/apache2/bin/apachectl start Syntax error on line 444 of /usr/local/se/apps/apache2/conf/httpd.conf: Can't find the workers file specified [root@localhost]# |
Quote:
Help us to help you. Show the portion of the config file that is complaining... :) And always make a backup of a config file before making any changes... |
config parameter as below...
# Add this parameters to the end of file AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps AddType application/x-java-jnlp-file .jnlp AddType application/x-gzip .exp AddType application/x-gzip .swp AddType application/x-gzip .properties AddType application/x-gzip .p7s AddType application/x-gzip .ini AddType application/x-gzip .dsg Alias /se "/usr/local/se/web/wwwroot" <Directory "/usr/local/se/web/wwwroot"> Order allow,deny Allow from all </Directory> # Add index.php <IfModule dir_module> DirectoryIndex index.html index.php </IfModule> # Add the following parameters JkWorkersFile /usr/local/se/apps/php/mod_jk/workers.properties JkLogFile /usr/local/se/apps/php/mod_jk/mod_jk.log # Log level (debug, info, warn, error or trace) JkLogLevel error JkLogStampFormat "%a %b %d %H:%M:%S %Y " JkRequestLogFormat "%w %V %T" Alias /softexpert "/usr/local/se/apps/php/mod_jk" <Directory "/usr/local/se/apps/php/mod_jk"> Order allow,deny Allow from all </Directory> JkMount /softexpert seredirect JkMount /softexpert/* seredirect JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories +ForwardSSLCertChain JkExtractSSL On JkHTTPSIndicator HTTPS JkSESSIONIndicator SSL_SESSION_ID so the paragraph line 444 as bold characters |
Well, it's saying it can't find the file, so is the file actually at that path location? Try:
Code:
ls /usr/local/se/apps/php/mod_jk/workers.properties |
[root@localhost ~]# ls /usr/local/se/apps/php/mod_jk/workers .properties
ls: /usr/local/se/apps/php/mod_jk/workers.properties: No such file or directory [root@localhost ~]# is it because installation are not complete?? |
Quote:
when did you install it?? try a search for that file using locate |
Hi all thanks for helpping me....:)
The server(httpd) already up but no application....:( need to fine someone that expert with this application... If anything I will post the error on this site |
All times are GMT -5. The time now is 10:51 PM. |