I’m trying to allow my heroku wordpress install to be able to write files heroku. To do this, I’m trying to install zlib. Fortunately, I got referred to a section of the tutorial on this, but I’m having some trouble. The tutorial tells me to run the following in heroku bash :
heroku run bash
export PS1="\u@\h \w> "
mkdir tmp
cd tmp
git clone https://github.com/php/php-src.git -b PHP-5.3
cd php-src
cd ext/zlib
/app/php/bin/phpize
./configure –with-php-config=/app/php/bin/php-config
make
cd modules
scp zlib.so user@host:~/destination
exit
I’m stuck at
cd ext/zlib
/app/php/bin/phpize
./configure –with-php-config=/app/php/bin/php-config
I’m presuming he means to cd to /ext/zlib/app/php/bin/phpize
I can cd all the way to /bin, but I can’t seem to cd to phpize. if I type “dir”, I do see something called phpize in the terminal.
What would I need to run to execute the command above? Knowing that I’m currently on the directory /ext/zlib/app/php/bin
phpize is a utility program. Install php-devel