php-install Digest 20 Aug 2002 16:50:43 -0000 Issue 987
Topics (messages 8173 through 8179):
problem with '-enable-pcntl' option.
8173 by: Yurii Rask
PHP file fail to execute
8174 by: Tasha
8175 by: Moraes, Fabio
8176 by: Tasha
8177 by: Chris Hewitt
Install Help
8178 by: awh3.lehigh.edu
Add another -library to my configuration
8179 by: Vicki Brown
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 ---
Hi,
I would appreciate if somebody give me a tip how I can solve my problem with
'pcntl' functions. I did re-compilation of php with required option
'-enable-pcntl' but when I try to run my php script it still returns me an
error "Fatal error</b>: Call to undefined function: pcntl_fork() ". Why?
What's wrong? Any thoughts?
Thank you in advance,
Yurii.
PS: my script is a simple example from this documentation...
--- End Message ---
--- Begin Message ---
Greetings,
I have installed PHP 4.2.2 on Windows 2000 with Apache 1.3.22.
I have followed all the instructions in the install.txt in that I have moved
the .dll, I have added the three required lines to httpd.conf, I have placed
php.ini in my WINNT/SYSTEM32 directory and anything else it told me
to do. When I start Apache it tells me that PHP is running.
However, when I attempt to run a PHP file in IE or Netscape they simply
show me the source of the file.
Please could someone shed some light on why this is occuring and how
I may fix it.
Thanks in advance.
Ta ta,
Tasha
--- End Message ---
--- Begin Message ---
Be sure you followed steps listed in install.txt.
Don't forget to restart your apache.
--fabio moraes.
-----Original Message-----
From: Tasha [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 7:38 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] PHP file fail to execute
Greetings,
I have installed PHP 4.2.2 on Windows 2000 with Apache 1.3.22.
I have followed all the instructions in the install.txt in that I have moved
the .dll, I have added the three required lines to httpd.conf, I have placed
php.ini in my WINNT/SYSTEM32 directory and anything else it told me
to do. When I start Apache it tells me that PHP is running.
However, when I attempt to run a PHP file in IE or Netscape they simply
show me the source of the file.
Please could someone shed some light on why this is occuring and how
I may fix it.
Thanks in advance.
Ta ta,
Tasha
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
> Be sure you followed steps listed in install.txt.
Done that ... even tried a few variations ... still no joy. Is there
anything the install.txt fails to mention or that it mentions, but is
occasionally misinterpreted?
> Don't forget to restart your apache.
Don't have a choice ... because I use Delphi to develop for Apache which is
later converted to Kylix for Apache on Linux I have start my Apache with a
batch file when developing on Windows or the shared objects will not
compile. The batch file ensures that IIS is stopped and Apache is started. I
can also be certain Apache is never running once I have rebooted the
machine.
Apache seems quite happy with this for all other development requirments,
but it must be missing something for the PHP. I'm assuming what it's doing
is failing to interpret the .php extension correctly.
Could anyone give me an example of their setup so I can make sure I haven't
done anything stupid?
Thanks again.
Ta ta,
Tasha
--- End Message ---
--- Begin Message ---
Tasha,
If you have the AddType line in htpd.conf with the same extension
specified as your test php file then either it is still not correct, or
you have more than one httpd.conf and you are editing the wrong one.
Just to make sure you are editing the right file, I'd put an error into
httpd.conf and check that apache complains about it when restarted.
HTH
Chris
Tasha wrote:
>Done that ... even tried a few variations ... still no joy. Is there
>anything the install.txt fails to mention or that it mentions, but is
>occasionally misinterpreted?
>
--- End Message ---
--- Begin Message ---
Build Environment & Source Code Versions:
Mandrake 2.4.18-6 Linux
Apache 1.3.26
PHP 3.0.18
MySQL 3.23.52
Okay I am not sure this is being posted to the right place but I am having some
issues getting PHP going with mySQL and Apache. I want to use PHP as a DSO in
Apache. but I keep on getting the following error when I try to run apache
after httpd.conf is edited to reflect the changes you must make.
Error:
"Syntax error on line 205 of /opt/apache/conf/httpd.conf:
Cannot load /opt/apache/libexec/libphp3.so into
server: /opt/apache/libexec/libphp3.so: undefined symbol: compress
./apachectl start: httpd could not be started"
I have mySQL up and working fine and it is in: /usr/local/mysql
I have PHP here and would like to keep it here: /usr/local/php
And I have Apache Here and would like to keep it here: /opt/apache
Anyone have any idea's or can help out with the install. Like a Apache config
files with the options for PHP as a DSO? And a PHP config file with mySQL and
Apache support.
Also where does the php.ini file go in my above configuration?
I have looked at all the tutorials and used their config's and same story.
Thanks,
--Andrew
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--- End Message ---
--- Begin Message ---
I keep looking through the configure options but don't seem to
find a good way to add another -library to the configuration or
build.
I seem to need to include -limc (libimc.a) in my compilations to
avoid ld errors. Do I have to edit the configure script
directly?
Please Cc: me with responses; I subscribe to the digest of this list.
- Vicki
--- End Message ---