php-install Digest 3 Dec 2002 22:47:58 -0000 Issue 1145 Topics (messages 9296 through 9300):
Re: HELP!!!- Install Issue
9296 by: Jerry M. Howell II
Failed opening
9297 by: Richard Shaw
9298 by: Adam Voigt
9299 by: Richard Shaw
Trouble installing with mnogosearch support
9300 by: Timothy Nott
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
I also have the following in my httpd.conf file
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.php index.cgi
</IfModule>
You probably won't need all of these. I think, if I'm not mistaken you'll
need
LoadModule php4_module libexec/libphp4.so (or whatever the mod name is)
AddModule mod_php4.c ( same,depends on the name of the c file)
AddType application/x-httpd-php .php .php4 .php3 .phtml
(you can exclude any extensions you won't use)
IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.php index.cgi
</IfModule>
you only need to add index.php if you plan to make it a default index page
also I think the order and area in the httpd.conf file maters so you might wanna
do a google search and find out. hope this helps
On Mon, 2 Dec 2002 20:46:09 -0800
"Bob Butkins" <[EMAIL PROTECTED]> wrote:
> I am running the following:
> Red Hat 7.3 Kernel 2.4.18-3
> Apache 1.3.27
> MySQL 3.23.53a rpm binary
> PHP 4.2.3
>
> Apache is running fine and serving up web pages.
>
> When I run the PHP test page, it indicates PHP is not running.
>
> The httpd.conf file has this line in Section2:
> AddType application/x-httpd-php .php
>
> I am not sure PHP has been installed correctly, since Apache is not starting
> it up.
> Where should PHP files be installed?
> On install of PHP, they were extracted into the folder for the domain that
> is using
> PHP.
>
> I am eventually wanting to get VBulletin installed (it was working
> previously,
> but I had to reformat server drives).
>
> PLEASE RESPOND ASAP...I have a deadline that is critical!!
>
> Thank You.
> [EMAIL PROTECTED]
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
Jerry M. Howell II
--- End Message ---
--- Begin Message ---
Hi, I've got mod_php4 4.2.3 running with apache1.3.27+mod_ssl under FreeBSD 4.7 -RELEASE
i'm trying to execute a php script with the phpinfo line in, in fact it does it for every php page i try to execute now matter what the content. All I get the in the browser is.
Warning: Failed opening '/usr/web/www.example.org/info.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
php.ini and httpd.conf are default, everything else works fine
Does anyone have an idea ? i'm stumped
Thanks in advance
Richard
--- End Message ---
--- Begin Message --- What does it say in your Apache error_log file?
-- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc--- End Message ---
signature.asc
Description: This is a digitally signed message part
--- Begin Message --->What does it say in your Apache error_log file? Absolutely nothing out of the ordinary, which is why i'm really stumped--- End Message ---
--- Begin Message ---RH 7.2, apache 1.3.23, mysql 3.23.49a, pgsql 7.2, mnogosearch 3.2.7 I installed mnogosearch using --with-mysql=/usr/local/mysql When I try to run configure for php 4.2.3 I get: +--------------------------------------------------------------------+ | *** ATTENTION *** | | | | Something is likely to be messed up here, because the configure | | script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please | | see the file debug.log for error messages. | | | | If you are unable to fix this, send the file debug.log to the | | [EMAIL PROTECTED] mailing list and include appropiate | | information about your setup. | +--------------------------------------------------------------------+ The contents of debug.log are: CONFIGURE: './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-pgsql' '--with-mnogosearch=/usr/local/mnogosearch' '--with-mysql=/usr/local/mysql' CC: gcc CFLAGS: -g -O2 CPPFLAGS: -DLINUX=22 -DMOD_SSL=208108 -DUSE_HSREGEX -DEAPI CXX: CXXFLAGS: INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend -I/usr/local/mnogosearch/include -I/usr/local/mysql/include -I/usr/local/pgsql/include LDFLAGS: -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib -Wl,-rpath,/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib -Wl,-rpath,/usr/local/pgsql/lib -L/usr/local/pgsql/lib LIBS: -lpq -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt -lm -lmysqlclient -lz -ludmsearch DLIBS: SAPI: apache PHP_RPATHS: /usr/local/mysql/lib /usr/local/mnogosearch/lib /usr/local/pgsql/lib uname -a: Linux m-news-web02 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208108 -DUSE_HSREGEX -DEAPI -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib -Wl,-rpath,/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib -Wl,-rpath,/usr/local/pgsql/lib -L/usr/local/pgsql/lib conftest.c -lpq -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt -lm -lmysqlclient -lz -ludmsearch 1>&5 /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_store_result' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_fetch_row' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_data_seek' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_init' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_escape_string' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_close' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_num_rows' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_errno' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_error' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_num_fields' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_free_result' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_query' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_real_connect' /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to `mysql_fetch_lengths' collect2: ld returned 1 exit status Timothy Nott Online Manager: madison.com [EMAIL PROTECTED] 608.250.4010 2001 Fish Hatchery Rd Madison, WI 53713--- End Message ---
