|
|
|
|
Last Shout - Posted by: ly9cs - Thursday, 12 November 2009 20:58
|
| Why is it so dark in here ?
|
|
|
apache_0.3.37b_dingetje, Module php don´t work
| Hitio |
|

Member
 
Group: Members
Posts: 13
Member No.: 6
Joined: 3-December 02

|
Hello Mr Dingetje: I have install the beta vertion of your apache 0.3.37 with php, from the Lewis repository. Well, after a reconfiguration by lewis in my own server, this apache works finally. Well, but the php module, don´t work I have post this question in the freesco.org forum, and i have send PM a Mr Lewis. I don´t know what i can made, the libphp4.so, exist in my directory /libexec I don´t know is i´m running apache or thttpd. I have create a php info at http://marcalmo.homeip.net/test.phpTx Greetings
--------------------
|
|
|
| Hitio |
|

Member
 
Group: Members
Posts: 13
Member No.: 6
Joined: 3-December 02

|
| QUOTE (dingetje @ Apr 6 2009, 09:50 AM) | It could be a library dependency which is causing a failure to load the libphp4.so module. Did you check the Apache error log (it's located in /usr/local/apache/logs)? Also what does rc_httpd restart tell you?
You can easily check if you're running Apache or thttpd by looking at the process list with command ps in a FREESCO putty window.
This is for FREESCO 04x, right?
To test for a library issue you can execute the php command line version (CLI) and see if that runs. You can see if it runs with command /usr/local/bin/php --version.
It should output something like:
| QUOTE | PHP 4.4.4 (cli) (built: Oct 30 2006 01:06:41) Copyright © 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright © 1998-2004 Zend Technologies
|
The library dependency can be listed with the ldd command (part of my utils package, but maybe its standard in FREESCO 04x) as follows:
| QUOTE ("php 4.4.4 library dependency") | [root@Freesco] cd /usr/local/bin [root@Freesco] ldd php libmcrypt.so.4 => /lib/libmcrypt.so.4 (0x119000) libltdl.so.3 => /lib/libltdl.so.3 (0x14d000) libintl.so.2 => /lib/libintl.so.2 (0x154000) libc.so.5 => /lib/libc.so.5 (0x15d000) libfreetype.so.6 => /lib/libfreetype.so.6 (0x21d000) libz.so.1 => /lib/libz.so.1 (0x282000) libpng.so.3 => /lib/libpng.so.3 (0x291000) libm.so.5 => /lib/libm.so.5 (0x2ce000) libdl.so.1 => /lib/libdl.so.1 (0x2d7000) libiconv.so.2 => /lib/libiconv.so.2 (0x2da000)
|
|
The rc_httpd restart:
| QUOTE | [root@router] rc_httpd restart Deteniendo Apache HTTP... Hecho [root@router]
|
i´m running apache AND thttpd?:
| QUOTE | g/usr/local/mySQL/var/router.inet.pid-L/usr/local/mySQL/share/mysql/spanish/ 2558 S 1 httpd /usr/local/apache/bin/httpd 2585 S 2558 httpd /usr/local/apache/bin/httpd 2586 S 2558 httpd /usr/local/apache/bin/httpd 2587 S 2558 httpd /usr/local/apache/bin/httpd 2600 S 1 thttpd_c thttpd_c-d/wwa-p82-uroot
|
i´m miss libiconv.so.2 => /lib/libiconv.so.2 (0x2da000)
| QUOTE | [root@router] ldd php libmcrypt.so.4 => /lib/libmcrypt.so.4 (0x119000) libltdl.so.3 => /lib/libltdl.so.3 (0x14d000) libintl.so.2 => /lib/libintl.so.2 (0x154000) libc.so.5 => /lib/libc.so.5 (0x15c000) libfreetype.so.6 => /lib/libfreetype.so.6 (0x21c000) libz.so.1 => /lib/libz.so.1 (0x281000) libpng.so.3 => /lib/libpng.so.3 (0x28f000) libm.so.5 => /lib/libm.so.5 (0x2cc000) libdl.so.1 => /lib/libdl.so.1 (0x2d5000)
|
The php --version show this:
| QUOTE | PHP 4.4.4 (cli) (built: Oct 30 2006 01:06:41) Copyright © 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright © 1998-2004 Zend Technologies |
And, yes is for Freesco 0.4.2 Thank you so much for your time Greetings
Attached File ( Number of downloads: 612 )
error_log
--------------------
|
|
|
| Hitio |
|

Member
 
Group: Members
Posts: 13
Member No.: 6
Joined: 3-December 02

|
| QUOTE (dingetje @ Apr 7 2009, 08:57 AM) | My Spanish isn't very good, but it looks like rc_httpd restart only stops the Apache process and doesn't start it!? Correct? That doesn't seem right to me.
| QUOTE | | i´m running apache AND thttpd? |
That's perfectly normal, thttpd is used for the web control panel at port 82 and Apache for the public web server at port 80.
The library dependency looks OK to me, no missing libs and php --version shows that the CLI version runs OK. I also see no load module errors in the startup of your Apache error log. I doubt if adding the libiconv.so.2 lib is going to change anything.
Did you make any edits to the httpd.conf file for Apache? Did you install perl 5.6.1 package before installing Apache package?
What output do you get when you use the apachectl command to stop/start Apache?
| CODE | /usr/local/apache/bin/apachectl stop /usr/local/apache/bin/apachectl start
|
|
hello Mr Dingetje: Yes, how you can see, when i run rc_httpd restart command, only appears the stop message and not the start message. I´m the command how start, restart, i don´t have translate this, because all world know this commands and because the translations is soo dificult in, for example the help files. The rest of Freesco is in spanish language, because a need to made test with it. Of course, i can see now what the admin panel run in thtpd in the 82 port. Tx. Yes, I have previous installed the perl 5.6.1 dingetje package after to install apache. I need to reinstall?. I have run the apachectl command and i have a bug in the stop command (with rc_httpd the bug is in the start command  ) | QUOTE | [root@router] /usr/local/apache/bin/apachectl stop /usr/local/apache/bin/apachectl stop: httpd (no pid file) not running [root@router] /usr/local/apache/bin/apachectl start /usr/local/apache/bin/apachectl start: httpd started [root@router] /usr/local/apache/bin/apachectl stop /usr/local/apache/bin/apachectl stop: httpd (no pid file) not running [root@router]
|
Tx again
--------------------
|
|
|
| dingetje |
|

Administrator
    
Group: Admin
Posts: 707
Member No.: 1
Joined: 24-August 02

|
I asked about the perl package because none of the test CGI scripts seem to work on your site? Even the ones that don't use perl, like /www/cgi/test-cgi which is a shell based CGI test script, outputting some of the server environment variables, is not working! These CGI scripts too are simply output and not executed?! Compare these two: http://marcalmo.homeip.net/cgi/test-cgihttp://dingetje.homeip.net/cgi/test-cgiAnother thing that also don't seem to work on your end is the Apache manual. This is enabled in the package via a directory alias and can be displayed with: http://dingetje.homeip.net/manual/ <-- mine works http://marcalmo.homeip.net/manual/ <-- yours is hanging? Frankly I'm out of options as what to check next. It looks like Apache is up and running, but it doesn't parse your PHP scripts. Instead it simply outputs them as if they were regular HTML files. Could you send me your httpd.conf file to look at? Did you try rebooting? This post has been edited by dingetje on Apr 7 2009, 05:10 PM
--------------------
|
|
|
| Hitio |
|

Member
 
Group: Members
Posts: 13
Member No.: 6
Joined: 3-December 02

|
Tx again Have you see your private messages?. I have send to you a PM with the access data to my server. i send too the httpd.conf I don´t know if that is a bug or a personal error. ah, i have try with the 0.3.27 vertion and this error not ocurs. Only with the 0.3.37  yes, of course, i have try with a lot of rebooting Tx
Attached File ( Number of downloads: 22 )
httpd.conf
--------------------
|
|
|
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
[ Script Execution time: 0.0783 ] [ 12 queries used ] [ GZIP Enabled ] [ Server Load: 0.10 ]
|
|
|
|
|