[Phplib-users] PHPLIB setup
Brought to you by:
nhruby,
richardarcher
|
From: twidlar <tw...@cr...> - 2001-12-03 18:54:01
|
I am trying to setup PHPLIB inside my local server, PHPTriad (Apache,
PHP, MySQL).
c:\apache\htdocs the Document Base for 'localhost'.
c:\apache\php contains PHP
The home page 'c:\apache\htdocs\index.php' (included below) worked fine.
To install PHPLIB
I downloaded phplib-7.2d.zip.
I unzipped in to c:\apache\php\phplib-7.2d\.
I modified c:\apache\php\php.ini thus
auto_prepend_file = \apache\php\phplib-7.2d\php\prepend.php3
include_path =
".;\apache\includes;\apache\htdocs\;\apache\htdocs\phpmyadmin;
\apache\php\;\apache\php\phplib-7.2d\php\"
Now when I access \localhost\index.php, I get the message
Warning: Failed opening '\apache\php\phplib-7.2d\php\prepend.php3'
for inclusion
(include_path='.;\apache\includes;\apache\htdocs\;\apache\htdocs\phpmyadmin;
\apache\php\;\apache\php\phplib-7.2d\php\') in
Unknown on line 0
File '\apache\php\phplib-7.2d\php\prepend.php3' exists.
When I change php.ini back to "auto_prepend_file = ",
\localhost\index.php works.
Does this mean I can't use 'auto_prepend'?
Did I install PHPLIB wrong?
Thanks
Tom Widlar
--------------------------
c:\apache\htdocs\index.php
--------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>PHPTriad</title>
</head>
<body>
<h2>Welcome to PHPTriad for Windows v2.11.</h2>
PHPTriad is the basic installer. Additional pieces may be available at
this time. Check
<a href="http://www.phpgeek.com">PHPGeek.com</a> for more details and to
ensure that you
have installed the most recent version of PHPTriad.<p> While PHPTriad is
provided free and will always remain so, there are costs involved
including time and effort as well as some financial costs associated
with maintaining this software. If you find this installer useful,
please consider contributing by buying something from the PHPGeek store
at <a
href="http://www.phpgeek.com/store.php">http://www.phpgeek.com/store.php</a>.
<p>
What's new in version 2.11?<br>
<ul>
<li>Fixed Extension path
<li>Fixed include path
<li>Other misc fixes.
</ul>
<p>
What's new in version 2.1?<br>
<ul>
<li>An all new installer. I've switched to a new software package for
building the installer. It's more robust and should make the installer
more painless
<li>PHP 4.0.5 - the newest version of PHP.
<li>Perl is now included. Though I provide no real support for it, it
was a highly requested feature and has been added
<li>Bug fixes.
<li>Includes the following versions:
<ul>
<li>PHP - 4.0.5
<li>MySQL - 3.23.32
<li>Apache - 1.3.14
<li>PHPMyAdmin - 2.1.0
<li>Perl - nsPerl 5.005_03
</ul>
</ul>
If you wish to add additional extensions, place them in
c:\apache\php\extensions. You can enable the extensions that are
disabled by default by editing c:\apache\php\php.ini. The shebang line
for Perl is #!c:/apache/perl/nsperl.exe.
<p>
To see the PHP settings for your installation, open the <a
href="phpinfo.php">phpinfo.php</a> file.
<p>
If you have suggestions for PHP applications
that you'd like to see included in the basic package or as installable
modules let me know at
<a href="mailto:le...@ph...">le...@ph....</a><p>
<table width=500 cellspacing=0 cellpadding=6>
<tr bgcolor="#000000">
<td bgcolor="#c3c3c3">
<b>Name</b>
</td>
<td bgcolor="#c3c3c3">
<b>Description</b>
</td>
</tr>
<tr>
<td>
<a href="phpmyadmin/index.php">PHPMyAdmin</a>
</td>
<td>
PHPMyAdmin is a web-based interface to MySQL. Use it to manage your
databases.
</td>
</tr>
</table>
<p>
</body>
</html>
|