第 1 頁 (共 1 頁)
[問題]Photo Album v2 for phpBB2 (相簿藝廊)縮圖如何安裝
發表於 : 2007-06-08 21:33
由 sky0610
問題外掛:Photo Album v2 參考連結
使用版本:phpBB 2.0.21 utf8版 red hat7.3 ,hph4.3.0 ,gd-1.8.4-14
網站位置:自家架設
狀況描述:
Photo Album v2 for phpBB2 2.0.56己安裝ok.但gd無作用,無法上傳,必須把"優化以便使用GD"選項,選為"手動縮圖",才能上傳
爬文後是說需要php-gd套件,但我找不到for red hat7.3的
有人知道在red hat7.3安裝gd嗎????
Re: [問題]Photo Album v2 for phpBB2 (相簿藝廊)縮圖如何安裝
發表於 : 2007-06-09 21:29
由 心靈捕手
sky0610 寫:問題外掛:Photo Album v2 參考連結
使用版本:phpBB 2.0.21 utf8版 red hat7.3 ,hph4.3.0 ,gd-1.8.4-14
網站位置:自家架設
狀況描述:
Photo Album v2 for phpBB2 2.0.56己安裝ok.但gd無作用,無法上傳,必須把"優化以便使用GD"選項,選為"手動縮圖",才能上傳
爬文後是說需要php-gd套件,但我找不到for red hat7.3的
有人知道在red hat7.3安裝gd嗎????
小羽 的文章參考看看.
http://phpbb-tw.net/phpbb/viewtopic.php?p=250358#250358
Re: [問題]Photo Album v2 for phpBB2 (相簿藝廊)縮圖如何安裝
發表於 : 2007-06-11 09:46
由 sky0610
這文章巳看過了
我找不到for red hat7.3 的php-gd的套件
在光碟片內也没有
用apt-gat也没有
有誰能提供嗎????
Re: [問題]Photo Album v2 for phpBB2 (相簿藝廊)縮圖如何安裝
發表於 : 2007-06-11 11:56
由 心靈捕手
sky0610 寫:
這文章巳看過了
我找不到for red hat7.3 的php-gd的套件
在光碟片內也没有
用apt-gat也没有
有誰能提供嗎????
您的問題描述裡頭, 提到 'gd-1.8.4-14' 是甚麼呢?
建議您:
先檢視 php.ini 的相關設定 (是否有啟用 gd.so).
Re: [問題]Photo Album v2 for phpBB2 (相簿藝廊)縮圖如何安裝
發表於 : 2007-06-12 09:51
由 sky0610
心靈捕手 寫:[您的問題描述裡頭, 提到 'gd-1.8.4-14' 是甚麼呢?
建議您:
先檢視 php.ini 的相關設定 (是否有啟用 gd.so).
'gd-1.8.4-14' 是GD套件
我有檢視php.ini在extension=./
在./没有gd.so這個檔案
./路徑為/usr/local/lib
Re: [問題]Photo Album v2 for phpBB2 (相簿藝廊)縮圖如何安裝
發表於 : 2007-06-12 14:09
由 心靈捕手
sky0610 寫:心靈捕手 寫:[您的問題描述裡頭, 提到 'gd-1.8.4-14' 是甚麼呢?
建議您:
先檢視 php.ini 的相關設定 (是否有啟用 gd.so).
'gd-1.8.4-14' 是GD套件
我有檢視php.ini在extension=./
在./没有gd.so這個檔案
./路徑為/usr/local/lib
無論您是使用 PHP 4 或 PHP 5
gd module 應該都有內含, 只是沒有安裝或啟用.
如果您找不到 'gd.so這個檔案', 那麼得自行安裝;
安裝後, 重新啟動 Apache.
Better control on configuration
In the last section, PHP was installed with only core modules. This may not be what you want and you will soon discover that you need more activated modules, like MySQL, cURL, GD, etc.
When you compile PHP from source yourself, you need to activate modules via the configure command. With APT, you just have to install additional packages. They're all named 'php4-*' (or 'php5-*' if you installed PHP 5 from a third party repository).
Example 4.10. Getting the list of PHP additional packages
代碼: 選擇全部
# dpkg -l 'php4-*'
As you can see from the last output, there's a lot of PHP modules that you can install (excluding the php4-cgi, php4-cli or php4-pear special packages). Look at them closely and choose what you need. If you choose a module and you do not have the proper libraries, APT will automatically install all the dependencies for you.
If you choose to add the MySQL, cURL and GD support to PHP the command will look something like this:
Example 4.11. Install PHP with MySQL, cURL and GD
代碼: 選擇全部
# apt-get install php4-mysql php4-curl php4-gd
APT will automatically add the appropriate lines to your different php.ini (/etc/php4/apache/php.ini, /etc/php4/cgi/php.ini, etc).
Example 4.12. These lines activate MySQL, cURL and GD into PHP
代碼: 選擇全部
extension=mysql.so
extension=curl.so
extension=gd.so
You'll only have to stop/start Apache as previously to activate the modules.
Source:
http://www.php.net/manual/en/install.unix.debian.php
發表於 : 2007-06-13 21:07
由 sky0610
感謝心大熱情回應
但用apt-get php-gd還是找不到套件
我的red hat 7.3真是太舊的
但有個版權資料庫只能在此版本安裝
for php3.0的php-gd真的找不到
用FC3試裝一會就好了
看來只好放棄了
另外
我到心大的討論區註冊好久了
也没見註冊回信
發表於 : 2007-06-13 22:36
由 心靈捕手