• I have to rebuild php on a litespeed server to add gd support, however I’m getting the following errors when updating plugins:

    Warning: file_exists() [function.file-exists0]: open_basedir restriction in effect. File(/home/X/public_html/wp-content/themes/images/tipsy.gif/style.css) is not within the allowed path(s): (/home/X:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/X/public_html/wp-includes/theme.php on line 386
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/X/public_html/wp-includes/theme.php:386) in /home/X/public_html/wp-includes/pluggable.php on line 881
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/X/public_html/wp-includes/theme.php:386) in /home/X/public_html/wp-includes/pluggable.php on line 881

    This was my build php command:

    --prefix=/lsphp5 --with-litespeed --enable-cli --enable-mbstring --with-openssl --with-mysql=/usr/bin --with-mysqli --with-mysql-sock=/var/lib/mysql/mysql.sock --with-pdo-mysql --with-gd --with-zlib --with-jpeg-dir=/usr/lib64 --with-png-dir=/usr/lib64 --with-png --with-jpeg --with-gmp --with-sqlite --enable-pdo --with-libdir=lib64 --with-xpm-dir=/usr/lib64 --with-freetype-dir=/usr/include/freetype2 --with-ttf=/usr/include/freetype2 --libdir=/usr/lib64 --enable-gd-native-ttf --enable-fileinfo --disable-debug --with-pic --with-bz2 --with-curl --with-curlwrappers --without-gdbm --with-gettext --with-iconv --with-pspell --with-pcre-regex --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --disable-sysvsem --disable-sysvshm --disable-sysvmsg --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-kerberos --enable-ucd-snmp-hack --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --with-mime-magic --with-system-tzdata --with-odbc --enable-gd-jis-conv --enable-dom --disable-dba --enable-xmlreader --enable-xmlwriter --with-xml --with-xmlrpc --with-xsl --enable-bcmath --enable-soap --enable-zip --enable-inline-optimization --with-mhash --enable-mbregex

    Anyone had similar experiences? Just wondering if this is a path issue perhaps?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘php build issue with litespeed’ is closed to new replies.