Greg McAvoy-Jensen
|
Sunday 18 December 2005 1:45:42 pm
I have given up on getting Fedora 4 to work. So many recommended Debian that I took the plunge. It was easy, and took little effort to get my ezPublish 3.3 site running on 3.7. When page loads turned out to take 13 seconds, however, I checked PHP's functioning, and it was actually running 4.3.10-16. Yesterday I uninstalled it and re-installed the 4.4 package, but again, it was 4.3.10-16. I think Debian must have the wrong package under 4.4. I tried various ways, and various servers. I also took out apache 1.3 and reinstalled it at the same time. The server runs, and runs with php 4.3.10-16, but a test ezPublish site I had set up fresh on this server yeilds this when a browser visits its main page:
<i>Fatal error: Call to undefined function: mysql_escape_string() in /home/gregmj/web/donnajensen/lib/ezdb/classes/ezmysqldb.php on line 804 Fatal error: eZ publish did not finish its request The execution of eZ publish was abruptly ended, the debug output is present below.</i> My first job is to figure out how to get a package of 4.4 really installed. I'm hoping the rest (page load speed, the "Fatal error") will resolve itself after that. Suggestions? Am I doing something wrong?
Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog
|
Greg McAvoy-Jensen
|
Sunday 18 December 2005 3:58:56 pm
Ok, I think I misread the package. It's really 4:4.3.10-16, so that's 4.3. I get it. So, what's the best thing for me to do: use ezPublish 3.6, or manually install php? If I do install php, what's the order--will I then have to re-compile apache 1.3? Lastly, what's the easiest and/or best accelerator to use on Debian? I couldn't find a package to download.
Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog
|
Greg McAvoy-Jensen
|
Thursday 22 December 2005 8:49:57 am
Here's my resolution: Since Debian doesn't offer a stable PHP 4.4 package yet, stick with ezPublish 3.6.4 until then. I switched to Debian for simplicity, after all. In case it helps anyone, here are the steps for installing this on Debian: Install Debian. Packages needed include
apache (I had 1.3.33-6)
apache-common
libapache-mod-php4 (This is for php 4.3, not 4.4)
php4-common
php4-gd
php4-imagemagick
php4-mysql apache-dev (found in the dev section; it was needed to install the php accelerator, apc) I also included these, though I'm not positive they were required:
php4-pear
php4-cli php4 Download and install apc from www.php.net. It suggests:
If you are trying to get every little bit of speed out of PHP4+APC, you need
to tell APC where to find your httpd.h file and also add -DAPC_PHP4_STAT to
your CPPFLAGS. (if you don't have httpd.h, install the apache_dev package
for your OS) and do:
export CPPFLAGS="-I/usr/include/apache-1.3 -DAPC_PHP4_STAT" (for bash on Debian)
setenv CPPFLAGS "-I/usr/include/apache-1.3 -DAPC_PHP4_STAT" (for tsch on Debian)
and then re-run your configure script.
Do NOT do this unless you know how to do all of it. I used the "export" without doing anything else, and that made ./configure fail.
Download ezPublish 3.6.x. Follow the installation instructions.
Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog
|
Lukasz Piech
|
Saturday 23 June 2007 11:19:20 am
Did anyone of you tried XAMPP from Apache Friends on Debian?
I have it setup and it works like a charm. It has both PHP 4 and 5 and you can setup a webserver in 5 minutes. It also has eAccelerator build in, which is important for eZ too. In general it has everything you need to run eZ (includeing GD2, Apache 2.2.4, MySQL5, PHP4 and PHP5) I have manager do rebuild my eZ publish site from backup in 1 hour using Debian 4 Etch and XAMPP :)
Here are the specs: Apache 2.2.4, MySQL 5.0.41, PHP 5.2.2 & 4.4.7 & PEAR + SQLite 2.8.17/3.3.17 + multibyte (mbstring) support, Perl 5.8.7, ProFTPD 1.3.0a, phpMyAdmin 2.10.1, OpenSSL 0.9.8e, GD 2.0.1, Freetype2 2.1.7, libjpeg 6b, libpng 1.2.12, gdbm 1.8.0, zlib 1.2.3, expat 1.2, Sablotron 1.0, libxml 2.4.26, Ming 0.3, Webalizer 2.01, pdf class 009e, ncurses 5.8, mod_perl 2.0.2, FreeTDS 0.63, gettext 0.11.5, IMAP C-Client 2004e, OpenLDAP (client) 2.3.11, mcrypt 2.5.7, mhash 0.8.18, eAccelerator 0.9.5.1, cURL 7.13.1, libxslt 1.1.8, phpSQLiteAdmin 0.2, libapreq 2.07, FPDF 1.53, XAMPP Control Panel 0.6 Oh, and it is free :) Lukasz
|