php-install Digest 15 Feb 2002 06:46:05 -0000 Issue 701

Topics (messages 6011 through 6014):

Please help me!
        6011 by: Nico Haase

PHP as CGI
        6012 by: Nils Hoven

Re: Installing Apache with PHP support with Suse 7.3
        6013 by: Alejandro Rios Garcia

ap_block_alarm
        6014 by: Don McMorris

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!
My name is Nico. I live in Germany and I have a big problem with my
PHP-Parser.
I wanted to install the new version, Number 4.1.1.. And so I first deleted
the old version from my Directory c:\program files\php. The new version was
installed with the Install Shield for Windows to c:\php. And now the parser
doesn't work any more. By opening a PHP-Script through
http://localhost/script.php, I get a "500-Servererror". Executing the script
is enabled in the Personal Web Server 4.0, that I use. What else can I do???
Please help me, if possible, write in german, to [EMAIL PROTECTED] !!!
Thank you!
Nico

--- End Message ---
--- Begin Message ---
Hi there!

pardon me if this has been covered amillion times; I'm new to this 
newsgroup, so I haven't been following it for ages; plus, I browsed the 
archives and couldn't really find a solution to my problem.

I'm trying to make PHP work with apache as CGI. My system at home is a 
linux system with SuSE 7.2 (apache as rpm), and at work I'm trying it on a 
SPARC with Solaris 5.8 and self-compiled apache.

I've successfully compiled PHP as executable without problems; it works 
fine on the command line, so I guess the compiling was successful.

Now I'm trying to teach apache to use it. I've RTFM and added the following 
to my httpd.conf:

---snip---
ScriptAlias /php-cgi/ /usr/local/httpd/php-cgi/

Action application/x-httpd-php /php-cgi/php
AddType application/x-httpd-php .php
---snip---

that's what I found all over the web how to do it. I've copied my compiled 
php to /usr/local/httpd/php-cgi/ and made a chmod 755 to it.



Now, when I call the famous Hello World script (hello.php)

---snip---
<?
print "Hello World";
?<
---snip---

like "http://www.blah.com/hello.php"; (assuming the php file is in the doc 
root) I get the following error message:


"Parse error: parse error in /usr/local/httpd/php-cgi/php on line 3806"

What's this? what am I missing? As I said... I can call php on the shell 
prompt, it's output looks perfect. What's wrong here?


oh, for the record: here's my ./configure for php:

./configure --without-apache --enable-force-cgi-redirect 
--enable-discard-path --enable-ftp --with-gd --enable-trans-sid 
--with-gnu-ld

Can anyone here help me out?

Thanx!
--- End Message ---
--- Begin Message ---
In the number 10 you must restart your Apache daemon using:

"apachectl restart"


Sorry It was a mistake.

--




Nuestra pagina esta en:
http://www.geocities.com/ariosii/hss.html
"Alejandro Rios Garcia" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...

I have installed several times Apache, mod_php4 and Mysql using the default
configuration with yast and yast2 and it NEVER worked.
Then I realize that if you install "FLEX (Fast Lexical Analyzer Generator)"
located on the z?? Group before you install the mod_php4 it will work.
example:
1. Install whatever you want.
2. Install the FLEX program
3. Install mysql
4. Install Apache
5. Install mod_php4
6. Add (optional)"AddType application/x-httpd-php .html" exactly in line
1076 inside the /etc/httpd/httpd.conf (if you want to use html pages.)
7. (optional)Remove index.html.en & index.html.de from
/usr/local/httpd/htdocs/
8. Edit a file with something like:
    <?
    phpinfo()
     ?>
9. Save it with the name index.html on the following directory
/usr/local/httpd/htdocs/
10. Reboot your computer.

p.s. I am using SuSE Linux Professional 7.3, I didnīt modify my system with
external software, I only use YAST or YAST2 to remove and install the
software.
        If you have installed Apache & mod_php4 you must deinstall them
before you install flex.

I hope this helps you!!!.
--

--





Nuestra pagina esta en:
http://www.geocities.com/ariosii/hss.html



--- End Message ---
--- Begin Message ---
This is the following error I recieve after installing
PHP folling the directinos posted on the internet:
"
Cannot load /usr/local/apache2/modules/libphp4.so into
server: /usr/local/apache
2/modules/libphp4.so: undefined symbol:
ap_block_alarms
"

Is there a module somebody out there can hopefully
make that defins this symbol?  This is apache 2.0.28
on Redhat Linux 7.2.  Thank you in advance.  --Don

__________________________________________________
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail 
http://mail.yahoo.com
--- End Message ---

Reply via email to