รถเช่า ประเภทต่างๆ
รถเช่า จังหวัด
การเปิด SOAP directadmin
วันที่: 30/07/2013
เวลา: 15:45:52
Go to your Direct Admin custom build directory
1 |
cd /usr/local/directadmin/custombuild |
Now let’s see our custom build configuration files.
1 |
./build used_configs |
One of the outputs is the PHP configuration file, edit that file,
1 |
/usr/local/directadmin/custombuild/configure/suphp/configure.php5 |
Now append –enable-soap to the end of the file. Don’t forget to add a “\” to the end of the last line.
After this, save the file and exit. Now we’re ready to recompile php.
1 |
./build php all |
That’s it!
คือลูกค้าเค้าแจ้งว่า จะใช้ google api ตอนแรก Scrip nosoap แทนการใช้ Soap extention โดยตรงจาก host แล้ว เค้าเปลี่ยนระบบมาเป็น
native soap extention ซึ่งมัน ต้องการ soap
ผมไปเปิดแก้ที่ php.ini แล้ว restart httpd แล้ว แต่ก็ยังใช้ไม่ได้
ไม่ทราบว่ามีใครเคยเปิดหรือยังครับ และอีกอย่าง extension นี้เปิดแล้วปลอดภัยไหมครับ
ผมหาใน google มา ไม่แน่ใจว่าทำตามแล้วจะมีปัญหาอะไรไหม
mkdir/usr/local/DirectAdmin/custombuild/custom
mkdir/usr/local/DirectAdmin/custombuild/custom/ap2
cp/usr/local/DirectAdmin/custombuild/configure/ap2/configure.php5 /usr/local/DirectAdmin/custombuild/custom/ap2/configure.php5
Go to your Direct Admin custom build directory
1 cd /usr/local/directadmin/custombuild
Now lets see our custom build configuration files.
1 ./build used_configs
One of the outputs is the PHP configuration file, edit that file,
1
vi /usr/local/directadmin/custombuild/custom/ap2/configure.php5
Now append enable-soap to the end of the file. Dont forget to add a \ to the end of the last line.
After this, save the file and exit. Now were ready to recompile php.
1 ./build php n
ขอบคุณครับ